using Catastrophe.Common.AttributeEx;

namespace HslCommunicationEx.OpcUa.SieCnc
{
	public class OpcUaToolInfoBase
	{
		public static string NumToolsAdr = "/Tool/Catalogue/numTools[u{toolAreaNo}]";

		[ComOpcUaData("/Tool/Catalogue/toolNo[u{toolAreaNo},{toolNumberIndex}]", "刀具号", OprTypeEnum.Read, AllowOprEnum.ReadAndWrite, false)]
		public string ToolNo { get; set; }

		[ComOpcUaData("/Tool/Catalogue/toolIdent[u{toolAreaNo},{toolNumberIndex}]", "刀具标识", OprTypeEnum.Read, AllowOprEnum.ReadAndWrite, false)]
		public string ToolIdent { get; set; }

		[ComOpcUaData("/Tool/Catalogue/toolInMag[u{toolAreaNo},{toolNumberIndex}]", "刀库号", OprTypeEnum.Read, AllowOprEnum.ReadAndWrite, false)]
		public string ToolInMag { get; set; }

		[ComOpcUaData("/Tool/Catalogue/toolInPlace[u{toolAreaNo},{toolNumberIndex}]", "刀具位置号", OprTypeEnum.Read, AllowOprEnum.ReadAndWrite, false)]
		public string ToolInPlace { get; set; }

		[ComOpcUaData("/Tool/Catalogue/numCuttEdges[u{toolAreaNo},{toolNumberIndex}]", "刀沿数量", OprTypeEnum.Read, AllowOprEnum.ReadAndWrite, false)]
		public string NumCuttEdges { get; set; }

		[ComOpcUaData("/Tool/Catalogue/nrDuplo[u{toolAreaNo},{toolNumberIndex}]", "姊妹刀号", OprTypeEnum.Read, AllowOprEnum.ReadAndWrite, false)]
		public string NrDuplo { get; set; }
	}
}
